@layout("/common/_container.html",{js:["/assets/info/info_view.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">资料库管理</span>
</div>
<input id="fkLeagueId" value="${fkLeagueId}" type="hidden" />
<input id="nums" value="${nums}" type="hidden" />
<input id="currentRun" value="${currentRun}" type="hidden" />
<input id="teamNum" value="${teamNum}" type="hidden" />
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="name" class="layui-input" type="text" placeholder="名称" autocomplete="off"/>

                            </div>
                            <div class="layui-inline">
                                <select id="year">
                                    @for(item in seasons){
                                        <option value="${item.id}">${item.name}</option>
                                    @}
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="ownGoal">
                                    <option value="">乌龙球</option>
                                    <option value="1">有</option>
                                    <option value="0">无</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="pointGoal">
                                    <option value="">点球</option>
                                    <option value="1">有</option>
                                    <option value="0">无</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="redCard">
                                    <option value="">红卡</option>
                                    <option value="1">有</option>
                                    <option value="0">无</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnView" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>查看</button>
                                <button id="btnCancel" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>清空</button>
                                <button id="backupPage" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>返回</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="positionTable" lay-filter="positionTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="teamATpl">
    <sapn class="team" style="color: blue">{{ d.teamAName }}</sapn>
    {{# if(d.redCardTeamA){ }}
        <i style="color: red;" class="fa fa-square"></i>
    {{# } }}
    {{# if(d.ownGoalTeamA){ }}
        <i style="color: gray;" class="fa fa-futbol-o"></i>
    {{# } }}
    {{# if(d.pointTeamA){ }}
        <i style="color: #FF00FF;" class="fa fa-futbol-o"></i>
    {{# } }}
</script>
<script type="text/html" id="teamBTpl">
    <sapn class="team" style="color: blue">{{ d.teamBName }}</sapn>
    {{# if(d.redCardTeamB){ }}
        <i style="color: red;" class="fa fa-square"></i>
    {{# } }}
    {{# if(d.ownGoalTeamB){ }}
    <i style="color: gray;" class="fa fa-futbol-o"></i>
    {{# } }}
    {{# if(d.pointTeamB){ }}
    <i style="color: #FF00FF;" class="fa fa-futbol-o"></i>
    {{# } }}
</script>
<script type="text/html" id="shotsTpl">
    <sapn>{{ d.shotsTeamA }} | {{ d.shotsTeamB }}</sapn>
</script>
<script type="text/html" id="faultsTpl">
    <sapn>{{ d.faultTeamA }} | {{ d.faultTeamB }}</sapn>
</script>
<script type="text/html" id="cornersTpl">
    <sapn>{{ d.cornerTeamA }} | {{ d.cornerTeamB }}</sapn>
</script>
@}